<template>
    <view class="a-page">
        <view class="a-panel">
            <navigator v-for="(item,index) of list" :key="index"
                       :url="'/pages/test/'+item[1]"
            >{{item[0]}}
            </navigator>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                list: [
                    ['滚动监听', 'touch-listen'],
                    ['微信登录', 'weixin-login'],
                    ['弹层提示', 'layer'],
                    ['popup', 'popup'],
                    ['checkbox', 'checkbox'],
                ]
            }
        },
        methods: {}
    }
</script>

<style lang="less">
    navigator {
        line-height: unit(60, upx);
    }

    navigator + navigator {
        border-top: 1px solid #EEEEEE;
    }
</style>
